package com.design.template;

/**
 *
 */
public class Test {
    public static void main(String[] args) {
        AbstractWageCalculationTemplate shanghai = new ShangHaiCalcuter();
        double v1 = shanghai.calcuSalary(10000);
        System.out.println("上海: " + v1);

        AbstractWageCalculationTemplate suzhou = new SuZebuCalcite();
        double v2 = suzhou.calcuSalary(10000);
        System.out.println("苏州: " + v2);
    }
}
